<html>

<head>
    <meta charset="utf-8" />
    <title>这是标题</title>
</head>



<body>
    <form action="#" method="post" enctype="multipart/form-data">
        上传头像:<input type="file" name="file"><br>

        <input type="submit" value="提交数据">
    </form>
</body>

</html>